<table border="1">
	<th>Order</th>
	<th>Date</th>
	<th>Employee</th>
	<th>Supplier</th>
	<th>Payment Method</th>
	<th>Status</th>
	<th>Action</th>
	
	
	<{foreach from=$importsList item=phantu}>
		<tr> 
			<td> <{$phantu.im_id}> </td>
			<td> <{$phantu.im_date}> </td>	
			<td> <{$phantu.emp_name}> </td>	
			<td> <{$phantu.sup_name}> </td>
			<td> <{$phantu.pay_method}> </td>
			<td> <{$phantu.im_status}> </td>
			
			<td> 
				<a href="<{$smarty.const.APPLICATION_URL}>
					imports/detail/<{$phantu.im_id}>">					
					detail 
				</a>
				<a href="<{$smarty.const.APPLICATION_URL}>
					imports/editForm/<{$phantu.im_id}>">					
					edit 
				</a>
				 
				<{if $phantu.im_status==1}>
					<a href="<{$smarty.const.APPLICATION_URL}>imports/inactive/
					<{$phantu.im_id}>">					
							Inactive					
					</a> 
				<{else}>
					<a href="<{$smarty.const.APPLICATION_URL}>
					imports/active/<{$phantu.im_id}>">					
							Active					
					</a> 
				<{/if}>
			</td>	
				
		</tr>
	<{/foreach}>
</table>